package cn.ddiancan.schedule.business.service;

import cn.ddiancan.schedule.base.domain.TaskDTO;
import cn.ddiancan.schedule.base.domain.TaskLogVO;

public interface IScheduleExecutor {
    boolean beforeExecute(TaskDTO taskDTO,Runnable runnable);

    void execute(TaskDTO taskDTO,Runnable runnable);

    void afterExecute(TaskLogVO taskLogVO);
}
